package com.ant.storage.pojo;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author melon
 * @since 2022-07-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Reimbursement对象", description="")
public class Reimbursement implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "冲账表id")
    @TableField("purchaser_record_id")
    private Integer purchaserRecordId;

    @ApiModelProperty(value = "项目名称")
    @TableField("reimbursement_name")
    private String reimbursementName;

    @ApiModelProperty(value = "报销类型")
    @TableField("reimbursement_type")
    private String reimbursementType;

    @ApiModelProperty(value = "报销金额")
    @TableField("reimbursement_price")
    private BigDecimal reimbursementPrice;

    @ApiModelProperty(value = "说明")
    @TableField("explains")
    private String explains;

    @ApiModelProperty(value = "处理状态  0 未处理  1 已报销 2 拒绝报销")
    @TableField("handler_status")
    private String handlerStatus;


    @ApiModelProperty(value = "处理状态  0 待审核  1 审核通过 2 审核拒绝")
    @TableField("audit_status")
    private String auditStatus;

    @ApiModelProperty(value = "处理原因")
    @TableField("handler_reason")
    private String handlerReason;

    @ApiModelProperty(value = "处理人")
    @TableField("handler_by")
    private String handlerBy;

    @TableField("handler_time")
    private Date handlerTime;

    @ApiModelProperty(value = "创建人")
    @TableField("creation_by")
    private String creationBy;

    @TableField("creation_time")
    private Date creationTime;

    @ApiModelProperty(value = "申请人id")
    @TableField("applicant_id")
    private Integer applicantId;

    @ApiModelProperty(value = "是否领取 0 未领取 1 已领取")
    @TableField("is_receive")
    private Integer isReceive;

    @ApiModelProperty(value = "领取人id")
    @TableField("name_id")
    private Integer nameId;

    @TableField(exist = false)
    private List<AuditReverseList> auditReverseList;

}
